vm = new Vue({
    el : '#app',
    router:router,
    components:{
        'leftnavigation': httpVueLoader('templates/LeftNavigation.vue'),
        'headtags':httpVueLoader('templates/HeadTags.vue'),
        'platformcontent':httpVueLoader('templates/PlatformContent.vue')
    },
    data: function () {
        return{

        }
    },
    mounted:function(){

    },
    methods:{
        addTab:function (arr) {
            this.$refs.tabs.addTab(arr[0],arr[1],arr[2],arr[3]);
        },
        changeMenu:function (activeMenu) {
            this.$refs.menus.changeMenu(activeMenu);
        }
    }
});